package com.iuie.ns.system.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 扩展 UsernamePasswordToken，增加验证码
 * @author lj
 *
 */
public class CaptchaUsernamePasswordToken extends UsernamePasswordToken {
	
	private static final long serialVersionUID = -5629485900901149950L;
	
	private String captcha;
	
	//登录类型
	private String loginType;
	
	public CaptchaUsernamePasswordToken(String username, String password,
			boolean rememberMe, String host, String loginType) {
		super(username, password, rememberMe, host);
		this.loginType = loginType;
	}



	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	public String getCaptcha() {
		return captcha;
	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}
	
}